package com.qijian.maindata.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 开工令装配明细对象 main_project_assembly_detail
 *
 * @author qijian
 * @date 2024-08-14
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("main_project_assembly_detail")
public class ProjectAssemblyDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键")
    private Long id;

    @Excel(name = "关联id")
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "关联id")
    private Long mainId;

    @Excel(name = "零件明细id")
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "零件明细id")
    private Long detailId;

    @Excel(name = "零件id")
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "零件id")
    private Long ncId;

    @Excel(name = "图号")
    @ApiModelProperty(value = "图号")
    private String drawingNo;

    @Excel(name = "件号")
    @ApiModelProperty(value = "件号")
    private String partNo;

    @Excel(name = "规格")
    @ApiModelProperty(value = "规格")
    private String spec;

    @Excel(name = "材质")
    @ApiModelProperty(value = "材质")
    private String material;

    @Excel(name = "炉批号")
    @ApiModelProperty(value = "炉批号")
    private String furnaceBatchNumber;

    @Excel(name = "排版单号")
    @ApiModelProperty(value = "排版单号")
    private String pbCode;

    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private int quantity;

}
